<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../static/bootstrap/css/bootstrap.min.css"/>
    <script src="../../static/js/jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../static/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<form class="form-horizontal container"  th:action="@{/User/updateUser}"method="get" role="form">
    <div class="form-group">
        <label for="firstname" class="col-sm-2 control-label">编号</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="firstname" readonly="readonly" name="id"  th:field="${user.id}" placeholder="请输入编号">
        </div>
    </div>
    <div class="form-group">
        <label for="twoname" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="twoname" name="userName" th:field="${user.userName}" placeholder="请输入姓名">
        </div>
    </div>
    <div class="form-group">
        <label for="threeanme" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="threeanme"  name="passWord" th:field="${user.passWord}" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">角色</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="lastname" name="realName"  th:field="${user.realName}" placeholder="请输入角色">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10" style="">
            <button type="submit" class="btn btn-success">提交</button>
            <a class="btn btn-primary btn-sm" type="button" th:href="@{/User/list}">取消</a>
        </div>
    </div>
</form>
</body>
</html>